﻿@{
    ViewData["Title"] = "SpermatophoreUpdate";
    Layout = "~/Views/Shared/_Layout.cshtml";
}

<h2>更新信息</h2>

<div class="content">
    <form class="layui-form" action="">
        <div class="layui-form-item">
            <div class="layui-inline">
                <label class="layui-form-label">耳号</label>
                <div class="layui-input-inline">
                    <input type="tel" id="earNumber" name="earNumber" placeholder="请输入耳号" autocomplete="off" lay-reqtext="请填写耳号" lay-affix="clear" readonly>
                    <input type="hidden" id="beginningId" name="beginningId">
                    <input type="hidden" id="species" name="species">
                </div>
            </div>
        </div>

        <div class="layui-form-item">
            <div class="layui-inline">
                <label class="layui-form-label">栋舍</label>
                <div class="layui-input-inline">
                    <input type="tel" id="buildings" name="buildings" placeholder="请输入栋舍" autocomplete="off" lay-reqtext="请填写栋舍" lay-affix="clear">
                </div>
            </div>
        </div>

        <div class="layui-form-item">
            <div class="layui-inline">
                <label class="layui-form-label">栏位</label>
                <div class="layui-input-inline">
                    <input type="tel" id="columns" name="columns" placeholder="请输入栏位" autocomplete="off" lay-reqtext="请填写栏位" lay-affix="clear">
                </div>
            </div>
        </div>

        <div class="layui-form-item">
            <div class="layui-inline">
                <label class="layui-form-label">只数</label>
                <div class="layui-input-inline">
                    <input type="tel" id="sheepNumber" name="sheepNumber" placeholder="请输入只数" autocomplete="off" lay-reqtext="请填写只数" lay-affix="clear">
                </div>
            </div>
        </div>

        <div class="layui-form-item">
            <div class="layui-inline">
                <label class="layui-form-label">重量</label>
                <div class="layui-input-inline">
                    <input type="tel" id="weight" name="weight" placeholder="请输入重量" autocomplete="off" lay-reqtext="请填写重量" lay-affix="clear">
                </div>
            </div>
        </div>

        <div class="layui-form-item">
            <div class="layui-input-block">
                <button type="submit" class="layui-btn" lay-submit lay-filter="demo1">立即提交</button>
                <button type="reset" class="layui-btn layui-btn-primary">重置</button>
            </div>
        </div>
    </form>
</div>

<script src="~/js/beginning/spermatophoreupdate.js?GB=" +new Date()></script>
<style>
    .layui-input {
        border: 1px solid #c2c2c2;
        border-radius: 4px;
        padding: 8px 12px;
    }

    /* 设置按钮的样式 */
    .layui-btn {
        background-color: #009688;
        color: #fff;
        border: none;
        padding: 10px 20px;
        border-radius: 4px;
    }

        /* 设置按钮鼠标悬停样式 */
        .layui-btn:hover {
            background-color: #008a7d;
        }

        /* 设置按钮点击按下样式 */
        .layui-btn:active {
            background-color: #00786e;
        }
</style>